home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / etc_-_Configuration_Files / TERMCAP < prev    next >
Text File  |  1999-09-17  |  8KB  |  220 lines

  1. # [Slackware note:  If you're looking for a big, full-featured termcap
  2. #  you can find one on any Slackware FTP site or CD-ROM, as the file
  3. #  source/a/etc/termcap-huge ]
  4. #
  5. # From: miquels@drinkel.ow.org (Miquel van Smoorenburg)
  6. #
  7. # Okay guys, here is a shorter termcap that does have most
  8. # capabilities and is ncurses compatible. If it works for you
  9. # I'd like to hear about it.
  10. # Some entries in termcap 2.0.7 are too long and your programs
  11. # may complain "tgetent: warning: termcap entry too long". Here is
  12. a smaller termcap. But it may not cover as many terminals as the one
  13. # in termcap 2.0.7. You can install it as /etc/termcap.
  14. #
  15. # termcap    Termcap entries for the VT family.
  16. #        All termcap entries have been freed of the 'ks' and
  17. #        'ke' entries, that put the keypad into applications
  18. #        mode. This is a generally misused entry, not ment
  19. #        for the vt100 "applications" mode. Now cursor and
  20. #        function keys will work in all programs.
  21. #
  22. #        Also, there is a "generic" vt entry with common
  23. #        entries for all terminals, on which all other entries
  24. #        are built.
  25. #
  26. # Version:    @(#) vt-termcap 1.37 12-Mar-1996 MvS
  27. #
  28.  
  29. # Generic VT entry.
  30. vg|vt-generic|Generic VT entries:\
  31.     :bs:mi:ms:pt:xn:xo:it#8:\
  32.     :RA=\E[?7l:SA=\E?7h:\
  33.     :bl=^G:cr=^M:ta=^I:\
  34.     :cm=\E[%i%d;%dH:\
  35.     :le=^H:up=\E[A:do=\E[B:nd=\E[C:\
  36.     :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:DO=\E[%dB:\
  37.     :ho=\E[H:cl=\E[H\E[2J:ce=\E[K:cb=\E[1K:cd=\E[J:sf=\ED:sr=\EM:\
  38.     :ct=\E[3g:st=\EH:\
  39.     :cs=\E[%i%d;%dr:sc=\E7:rc=\E8:\
  40.     :ei=\E[4l:ic=\E[@:IC=\E[%d@:al=\E[L:AL=\E[%dL:\
  41.     :dc=\E[P:DC=\E[%dP:dl=\E[M:DL=\E[%dM:\
  42.     :so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
  43.     :mb=\E[5m:mh=\E[2m:md=\E[1m:mr=\E[7m:me=\E[m:\
  44.     :sc=\E7:rc=\E8:kb=\177:\
  45.     :ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:
  46.  
  47. ## Linux console. One should really set TERM=linux instead of TERM=console.
  48. #lx|linux|console|con80x25|LINUX System Console:\
  49. #    :co#80:li#25:am:\
  50. #    :is=\E[m\E[?1l\E>\E[10m:\
  51. #    :rs=\E[m\E[?1l\E>\E[10m:\
  52. #    :ch=\E[%i%dG:cv=\E[%i%dd:\
  53. #    :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
  54. #    :ve=\E[?25h:vi=\E[?25l:\
  55. #    :se=\E[27m:ue=\E[24m:mh=\E[2m:\
  56. #    :ks=:ke=:\
  57. #    :kh=\E[1~:kH=\E[4~:kI=\E[2~:kD=\E[3~:kP=\E[5~:kN=\E[6~:\
  58. #    :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:\
  59. #    :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
  60. #    :F1=\E[23~:F2=\E[24~:\
  61. #    :tc=vt-generic:
  62.  
  63. # Slackware 3.1 linux termcap entry (Sat Apr 27 23:03:58 CDT 1996):
  64. lx|linux|console|con80x25|LINUX System Console:\
  65.         :do=^J:co#80:li#25:cl=\E[H\E[J:sf=\ED:sb=\EM:\
  66.         :le=^H:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
  67.         :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[27m:us=\E[36m:ue=\E[m:\
  68.         :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:is=\E[1;25r\E[25;1H:\
  69.         :ll=\E[1;25r\E[25;1H:al=\E[L:dc=\E[P:dl=\E[M:\
  70.         :it#8:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:ti=\E[r\E[H:\
  71.         :ho=\E[H:kP=\E[5~:kN=\E[6~:kH=\E[4~:kh=\E[1~:kD=\E[3~:kI=\E[2~:\
  72.         :k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
  73.         :k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:K1=\E[1~:K2=\E[5~:\
  74.         :K4=\E[4~:K5=\E[6~:\
  75.         :pt:sr=\EM:vt#3:xn:km:bl=^G:vi=\E[?25l:ve=\E[?25h:vs=\E[?25h:\
  76.         :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\
  77.         :r1=\Ec:r2=\Ec:r3=\Ec:
  78.  
  79. # Some other, commonly used linux console entries.
  80. lx|con80x28:co#80:li#28:tc=linux:
  81. lx|con80x43:co#80:li#43:tc=linux:
  82. lx|con80x50:co#80:li#50:tc=linux:
  83. lx|con100x37:co#100:li#37:tc=linux:
  84. lx|con100x40:co#100:li#40:tc=linux:
  85. lx|con132x43:co#132:li#43:tc=linux:
  86.  
  87. # vt102 - vt100 + insert line etc. VT102 does not have insert character.
  88. v2|vt102|DEC vt102 compatible:\
  89.     :co#80:li#24:\
  90.     :ic@:IC@:\
  91.     :is=\E[m\E[?1l\E>:\
  92.     :rs=\E[m\E[?1l\E>:\
  93.     :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
  94.     :ks=:ke=:\
  95.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
  96.     :tc=vt-generic:
  97.  
  98. # vt100 - really vt102 without insert line, insert char etc.
  99. vt|vt100|DEC vt100 compatible:\
  100.     :im@:mi@:al@:dl@:ic@:dc@:AL@:DL@:IC@:DC@:\
  101.     :tc=vt102:
  102.  
  103. # Standard vt320 (based on my own digital vt320)
  104. v3|vt320|DEC vt320:\
  105.     :co#80:li#24:hs:es:\
  106.     :is=\E[m\E[2$~\E[?1l\E>:\
  107.     :rs=\E[m\E[?1l\E>:\
  108.     :ve=\E[?25h:vi=\E[?25l:\
  109.     :se=\E[27m:ue=\E[24m:mh=\E[2m:\
  110.     :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
  111.     :ts=\E[1$}\E[1;%i%dH:fs=\E[0$}:ds=\E[1$}\r\E[m\E[K\E[0$}:\
  112.     :ks=:ke=:\
  113.     :kI=\E[2~:kD=\E[3~:kP=\E[5~:kN=\E[6~:\
  114.     :@4=\E[29~:@0=\E[1~:*6=\E[4~:\
  115.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[16~\
  116.     :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
  117.     :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
  118.     :F6=\E[29~:F7=\E[31~:F8=\E[32~:\
  119.     :tc=vt-generic:
  120.  
  121. v8|vt320-8|DEC vt320 in 8-bit mode:\
  122.     :kI=\2332~:kD=\2333~:kP=\2335~:kN=\2336~:\
  123.     :@4=\23329~:@0=\2331~:*6=\2334~:\
  124.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\23316~\
  125.     :k6=\23317~:k7=\23318~:k8=\23319~:k9=\23320~:k0=\23321~:\
  126.     :F1=\23323~:F2=\23324~:F3=\23325~:F4=\23326~:F5=\23328~:\
  127.     :F6=\23329~:F7=\23331~:F8=\23332~:\
  128.     :ku=\233A:kd=\233B:kr=\233C:kl=\233D:\
  129.     :tc=vt320:
  130.  
  131. # Entry for minicom so it uses the PC (IBM) character set.
  132. # If this doesn't work for kernels between 1.1.18 and 1.1.80,
  133. # change \E(U -> \E[11m  (enter ANSI mode)
  134. # and    \E(B -> \E[10m  (leave ANSI mode)
  135. mc|minicom|ansi-mc|termcap entry for minicom on the console:\
  136.     :is=\E[m\E>\E(U:\
  137.     :rs=\E[m\E>\E(B:\
  138.     :as@:ae@:eA@:ac@:\
  139.     :bl=\E(B\007\E(U:\
  140.     :vb=\E(B\007\E(U:\
  141.     :tc=linux:
  142.  
  143. # Entry for an xterm. Insert mode has been disabled.
  144. vs|xterm|vs100|xterm terminal emulator (X Window System):\
  145.     :am:bs:mi@:km:co#80:li#55:\
  146.     :im@:ei@:\
  147.     :ct=\E[3k:ue=\E[m:\
  148.     :is=\E[m\E[?1l\E>:\
  149.     :rs=\E[m\E[?1l\E>:\
  150.     :eA=\E)0:as=^N:ae=^O:ac=aaffggjjkkllmmnnooqqssttuuvvwwxx:\
  151.     :kI=\E[2~:kD=\177:kP=\E[5~:kN=\E[6~:\
  152.     :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
  153.     :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
  154.     :F1=\E[23~:F2=\E[24~:\
  155.     :kh=\E[H:kH=\EOw:\
  156.     :ks=:ke=:\
  157.     :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
  158.     :tc=vt-generic:
  159.  
  160. # Some other entries for the same xterm.
  161. v2|xterms|vs100s|xterm small window:\
  162.     :co#80:li#24:tc=xterm:
  163. vb|xterm-bold|xterm with bold instead of underline:\
  164.     :us=\E[1m:tc=xterm:
  165. vi|xterm-ins|xterm with insert mode:\
  166.     :mi:im=\E[4h:ei=\E[4l:tc=xterm:
  167.  
  168. # DOS terminal emulator such as Telix or TeleMate.
  169. # This probably also works for the SCO console, though it's incomplete.
  170. an|ansi|ansi-bbs|ANSI terminals (emulators):\
  171.     :co#80:li#24:am:\
  172.     :is=:rs=\Ec:kb=^H:\
  173.     :as=\E[m:ae=:eA=:\
  174.     :ac=0\333+\257,\256.\031-\030a\261f\370g\361j\331k\277l\332m\300n\305q\304t\264u\303v\301w\302x\263~\025:\
  175.     :kD=\177:kH=\E[Y:kN=\E[U:kP=\E[V:kh=\E[H:\
  176.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
  177.     :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\
  178.     :tc=vt-generic:
  179.  
  180. # This seems to be an entry for other x86 based unices.
  181. at|at386-m|386AT-M|386at-m|at/386 console:\
  182.     :am:bw:eo:xt:co#80:li#25:\
  183.     :ae=\E[10m:as=\E[12m:\
  184.     :is=\E[0;10;38m:\
  185.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
  186.     :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:\
  187.     :kh=\E[H:us=\E[4m:vb=^G:nl=\E[B:kb=^H:\
  188.     :tc=vt-generic:
  189.  
  190. # Yeah - Minix still lives :)
  191. ma|minix|minix-am|minix-vcam|MINIX 1.5 Virtual Console:\
  192.     :am:bs:co#80:li#25:km:ms:\
  193.     :is=\E[0m\EPlinewrap.on\E\\:\
  194.     :rs=\Ec\EPlinewrap.on\E\\:\
  195.     :as=:ae=:eA=:\
  196.     :ac=0\333+\257,\256.\031-\030a\261f\370g\361j\331k\277l\332m\300n\305q\304t\264u\303v\301w\302x\263~\025:\
  197.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOT:\
  198.     :k6=\EOU:k7=\EOV:k8=\EOW:k9=\EOX:k0=\EOY:\
  199.     :kD=\177:kH=\E[Y:kN=\E[U:kP=\E[V:kh=\E[H:kb=^H:\
  200.     :ve=\EPcursor.on\E\\:vi=\EPcursor.off\E\\:\
  201.     :tc=vt-generic:
  202.  
  203. # Some obligatory historic entries.
  204. sa|network|ethernet|arpanet:co#80:os:am:
  205. su|dumb|un|unknown:co#80:os:am:
  206. sd|du|dialup:co#80:os:am:
  207. t7|37|tty37|model 37 teletype:\
  208.     :cr=^M:do=^J:nl=^J:bl=^G:le=^H:bs:hc:hu=\E8:hd=\E9:up=\E7:os:
  209.  
  210. # Yes, there really are people that login from a Sun Console.
  211. mu|sun|Sun Microsystems Workstation console:\
  212.     :am:bs:km:mi:ms:pt:\
  213.     :li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
  214.     :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:\
  215.     :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\
  216.     :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
  217.     :al=\E[L:dl=\E[M:im=:ei=:ic=\E[@:dc=\E[P:\
  218.     :rs=\E[s:
  219.